<!DOCTYPE html><html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Banks and Instruments</title>
  <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
  <table>
    <thead>
      <tr>
        <th>BANK::control:: +</th>
        <th>value</th>
        <th>control</th>
        <th>part /<br>section</th>
        <th>kit</th>
        <th>engine</th>
        <th>insert</th>
        <th>param<br>eter</th>
        <th>offset</th>
        <th>miscmsg</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>readInstrumentName</td>
        <td>~ ~</td>
        <td>0</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>0~127,255</td>
        <td>0~159</td>
        <td>255</td>
        <td>255</td>
        <td>ret. msg No.</td>
        <td>Read instrument name (bank, root, instrument)</td>
      </tr>
      <tr>
        <td>findInstrumentName</td>
        <td>0~159<br>~ ~</td>
        <td>1</td>
        <td>244</td>
        <td>0~127</td>
        <td>0~127</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>ret. msg No.</td>
        <td>Find instrument name (instrument, bank, root)</td>
      </tr>
      <tr>
        <td>findInstrumentName</td>
        <td>~ ~</td>
        <td>1</td>
        <td>244</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>0~15</td>
        <td>255</td>
        <td>ret. msg No.</td>
        <td>Find next in list (or '*' if list end) -- instrument type</td>
      </tr>
      <tr>
        <td>renameInstrument</td>
        <td>~ ~</td>
        <td>2</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>0~127,255</td>
        <td>0~159</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Rename instument (bank, root, instrument)</td>
      </tr>
      <tr>
        <td>saveInstrument</td>
        <td>~ ~</td>
        <td>3</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>0~127,255</td>
        <td>0~159</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Save instrument (bank, root, instrument)</td>
      </tr>
      <tr>
        <td>deleteInstrument</td>
        <td>0~159</td>
        <td>4</td>
        <td>244</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Delete instrument from slot in current bank</td>
      </tr>
      <tr>
        <td>selectFirstInstrumentToSwap</td>
        <td>~ ~</td>
        <td>5</td>
        <td>244</td>
        <td>0~127</td>
        <td>0~127</td>
        <td>0~159</td>
        <td>255</td>
        <td>255</td>
        <td>ret. msg No.</td>
        <td>Swap instruments -- select first<br>(bank, root, instrument)</td>
      </tr>
      <tr>
        <td>selectSecondInstrumentAndSwap</td>
        <td>~ ~</td>
        <td>6</td>
        <td>244</td>
        <td>0~127</td>
        <td>0~127</td>
        <td>0~159</td>
        <td>255</td>
        <td>255</td>
        <td>ret. msg No.</td>
        <td>Swap instruments -- select second and swap<br>(bank, root, instrument)</td>
      </tr>
      <tr>
        <td>selectBank</td>
        <td>0~127</td>
        <td>16</td>
        <td>244</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Select bank in current root</td>
      </tr>
      <tr>
        <td>renameBank</td>
        <td>0~127</td>
        <td>17</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>0~127,255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>msg No.</td>
        <td>Rename bank (always returns root ID)</td>
      </tr>
      <tr>
        <td>createBank</td>
        <td>~ ~</td>
        <td>18</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>0~127,255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>msg No.</td>
        <td>Create bank -- new ID, root ID or current root</td>
      </tr>
      <tr>
        <td>deleteBank</td>
        <td>~ ~</td>
        <td>19</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Delete bank -- new ID, root ID or current root<br>not yet (it's currently in main)</td>
      </tr>
      <tr>
        <td>findBankSize</td>
        <td>ret. size</td>
        <td>20</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>0~127,255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Find number of instruments in bank(ID),<br>root (ID or current root)</td>
      </tr>
      <tr>
        <td>selectFirstBankToSwap</td>
        <td>~ ~</td>
        <td>21</td>
        <td>244</td>
        <td>0~127</td>
        <td>0~127</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>ret. msg No.</td>
        <td>Swap banks -- select first<br>(bank, root)</td>
      </tr>
      <tr>
        <td>selectSecondBankAndSwap</td>
        <td>~ ~</td>
        <td>22</td>
        <td>244</td>
        <td>0~127</td>
        <td>0~127</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>ret. msg No.</td>
        <td>Swap banks -- select second and swap<br>(bank, root)</td>
      </tr>
      <tr>
        <td>importBank</td>
        <td>0~127</td>
        <td>23</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Import bank<br>not yet (it's currently in main)</td>
      </tr>
      <tr>
        <td>exportBank</td>
        <td>0~127</td>
        <td>24</td>
        <td>244</td>
        <td>0~127,255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Export bank<br>not yet (it's currently in main)</td>
      </tr>
      <tr>
        <td>selectRoot</td>
        <td>0~127</td>
        <td>32</td>
        <td>244</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>Select root or read current one</td>
      </tr>
      <tr>
        <td>changeRootId</td>
        <td>0~127</td>
        <td>33</td>
        <td>244</td>
        <td>0~127</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>ret. msg No.</td>
        <td>Change root ID (always returns old ID)</td>
      </tr>
      <tr>
        <td>addNamedRoot</td>
        <td>0</td>
        <td>34</td>
        <td>244</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>msg No.</td>
        <td>Add named root to given ID via miscmsg<br>kit &lt; 255 create and install bank / instrument<br>
        ret. value = 255 -- not found</td>
      </tr>
      <tr>
        <td>deselectRoot</td>
        <td>0</td>
        <td>35</td>
        <td>244</td>
        <td>0~127</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>msg No.</td>
        <td>Does not change actual directory contents<br>ret. value = 255 -- not found</td>
      </tr>
      <tr>
        <td>refreshDefaults</td>
        <td>ret. 0,1</td>
        <td>37</td>
        <td>244</td>
        <td>0~127</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>255</td>
        <td>msg No.</td>
        <td>Used for reporting whether bank structure has been seen - Read Only</td>
      </tr>
    </tbody>
  </table>
</body>
</html>
